package com.eastfair.pay.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 实体类
 * 付款记录
 * </p>
 *
 * @author clm
 * @since 2022-06-08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "PaymentRecordPageQuery", description = "付款记录")
public class PaymentRecordPageQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 对方户名
     */
    @ApiModelProperty(value = "对方户名")
    private String bankAccountName;
    /**
     * 对方账号
     */
    @ApiModelProperty(value = "对方账号")
    private String bankAccountNumber;
    /**
     * 开户行
     */
    @ApiModelProperty(value = "开户行")
    private String bankName;

    /**
     * 关键词
     */
    @ApiModelProperty(value = "关键词")
    private String keywords;
    /**
     * 付款时间
     */
    @ApiModelProperty(value = "付款开始时间")
    private LocalDateTime payStartTime;
    /**
     * 付款时间
     */
    @ApiModelProperty(value = "付款结束时间")
    private LocalDateTime payEndTime;
    /**
     * 认款状态
     */
    @ApiModelProperty(value = "认款状态")
    private String collectState;
    /**
     * 付款方式(数据字典)
     */
    @ApiModelProperty(value = "付款方式(数据字典)")
    private String payType;

    /**
     * 单号
     */
    @ApiModelProperty(value = "单号")
    private String li;

    /**
     * 收款单位
     */
    private String companyName;
    /**
     * 付款流水号
     */
    @ApiModelProperty(value = "付款流水号")
    private String mainno;
}
